{include file="public/head" /}
  
  <body>
    <div class="x-body">
        <form class="layui-form" method="post" action="{url(admin/Property/weixin)}">
            <input type="hidden" value="{$info.id}" name="id"/>
            <div class="layui-form-item">
                <label for="L_username" class="layui-form-label">
                    <span class="x-red">*</span>微信公众号:
                </label>
                <div class="layui-input-inline">
                    <input type="text" id="L_username" name="wx_appid" required="" lay-verify="required"
                    autocomplete="off" class="layui-input" style="width:300px;" value="{$info.wx_appid}">
                </div>
            </div>
            <div class="layui-form-item">
                <label for="L_username" class="layui-form-label">
                    <span class="x-red">*</span>AppSecret:
                </label>
                <div class="layui-input-inline">
                    <input type="text" id="L_username" name="wx_app_secret" required="" lay-verify="required"
                    autocomplete="off" class="layui-input" style="width:300px;" value="{$info.wx_app_secret}">
                </div>
            </div>
            <div class="layui-form-item">
                <label for="L_username" class="layui-form-label">
                    <span class="x-red">*</span>商户号:
                </label>
                <div class="layui-input-inline">
                    <input type="text" id="L_username" name="wx_mch_id" required="" lay-verify="required"
                    autocomplete="off" class="layui-input" style="width:300px;" value="{$info.wx_mch_id}">
                </div>
            </div>
            <div class="layui-form-item">
                <label for="L_username" class="layui-form-label">
                    <span class="x-red">*</span>API密钥:
                </label>
                <div class="layui-input-inline">
                    <input type="text" id="L_username" name="wx_key" required="" lay-verify="required"
                    autocomplete="off" class="layui-input" style="width:300px;" value="{$info.wx_key}">
                </div>
            </div>
            <div class="layui-form-item">
                <label for="shop_ali_token" class="layui-form-label">
                    <span class="x-red">*</span>积分商城Token:
                </label>
                <div class="layui-input-inline">
                    <input type="text" id="shop_ali_token" name="shop_ali_token" required="" lay-verify="required"
                    autocomplete="off" class="layui-input" style="width:300px;" value="{$info.shop_ali_token}">
                </div>
            </div>
            <div class="layui-form-item">
                <label for="L_repass" class="layui-form-label">
                </label>
                <button  class="layui-btn" lay-filter="add" lay-submit="">
                    配置微信信息
                </button>
            </div>
      </form>
    </div>
    <script>
        layui.use(['form','layer'], function(){
            $ = layui.jquery;
          var form = layui.form
          ,layer = layui.layer;
        });
          //自定义验证规则

    </script>
    <script>var _hmt = _hmt || []; (function() {
        var hm = document.createElement("script");
        hm.src = "https://hm.baidu.com/hm.js?b393d153aeb26b46e9431fabaf0f6190";
        var s = document.getElementsByTagName("script")[0];
        s.parentNode.insertBefore(hm, s);
      })();</script>
  </body>

</html>